from tools.handle_mysql import HandleMysql
from datas.db_data import my_db
# def pre_sql():
sql_data = "select * from tz_sms_log where user_phone = 13422337768 limit 1;"
sql_result = HandleMysql(**my_db).query_data(sql_data)
mobile_code = sql_result["mobile_code"]
print(mobile_code)